package com.marvels.approve.manager.dao;

import java.util.List;

import com.marvels.approve.manager.dto.CaseManagerVersionDTO;
import com.marvels.common.exception.MarvelsBusinessException;

public interface ICaseManagerVersionDao {
	/**新增
	 * @param caseManager
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public int insert(CaseManagerVersionDTO caseManagerVersion)throws MarvelsBusinessException;
	
	/**更新
	 * @param CaseManagerVersionVersion
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public int updateByPrimaryKeySelective(CaseManagerVersionDTO caseManagerVersion)throws MarvelsBusinessException;
	/**通过主键ID
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public CaseManagerVersionDTO selectByPrimaryKey(Long id)throws MarvelsBusinessException;
	/**查询多条数据
	 * @param params
	 * @return
	 * @throws Exception
	 */
	public List<CaseManagerVersionDTO> select(CaseManagerVersionDTO caseManagerVersionDTO)throws MarvelsBusinessException;
}
